package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the tinformat database table.
 * 
 */
@Entity
@NamedQuery(name="Tinformat.findAll", query="SELECT t FROM Tinformat t")
public class Tinformat implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int tinformatid;

	@Temporal(TemporalType.TIMESTAMP)
	private Date tinformatdate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date tinformatfinal;

	@Temporal(TemporalType.TIMESTAMP)
	private Date tinformatfinaldate;

	private String tinformatname;

	private String tinformatremark;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="staff_id")
	private Staff staff;

	public Tinformat() {
	}

	public int getTinformatid() {
		return this.tinformatid;
	}

	public void setTinformatid(int tinformatid) {
		this.tinformatid = tinformatid;
	}

	public Date getTinformatdate() {
		return this.tinformatdate;
	}

	public void setTinformatdate(Date tinformatdate) {
		this.tinformatdate = tinformatdate;
	}

	public Date getTinformatfinal() {
		return this.tinformatfinal;
	}

	public void setTinformatfinal(Date tinformatfinal) {
		this.tinformatfinal = tinformatfinal;
	}

	public Date getTinformatfinaldate() {
		return this.tinformatfinaldate;
	}

	public void setTinformatfinaldate(Date tinformatfinaldate) {
		this.tinformatfinaldate = tinformatfinaldate;
	}

	public String getTinformatname() {
		return this.tinformatname;
	}

	public void setTinformatname(String tinformatname) {
		this.tinformatname = tinformatname;
	}

	public String getTinformatremark() {
		return this.tinformatremark;
	}

	public void setTinformatremark(String tinformatremark) {
		this.tinformatremark = tinformatremark;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}